package glory.factory;

import glory.service.GloryService;
public class GloryFactory {
	private static GloryFactory instance;
	private GloryService Glory;
	
	private GloryFactory(){
		Glory=new GloryService();
	}
	
	public static synchronized GloryFactory getInstance() {

		if (instance == null) {
			instance = new GloryFactory();
		}
		return instance;
	}

	public GloryService creatGloryService() {
		return Glory;
	}
}

